/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package co.edu.unal.bioingenium.kbmed.knowledge.ontology.vo;

import java.util.Set;

/**
 *
 * @author lariverosc
 */
public class Category {

    private String categoryID;
    private String categoryDescription;
    private Set<String> conceptsSet;

    /**
     *
     */
    public Category() {
    }

    /**
     *
     * @param categoryID
     */
    public Category(String categoryID) {
        this.categoryID = categoryID;
    }

    /**
     *
     * @return
     */
    public String getCategoryDescription() {
        return categoryDescription;
    }

    /**
     *
     * @param categoryDescription
     */
    public void setCategoryDescription(String categoryDescription) {
        this.categoryDescription = categoryDescription;
    }

    /**
     *
     * @return
     */
    public String getCategoryID() {
        return categoryID;
    }

    /**
     *
     * @param categoryID
     */
    public void setCategoryID(String categoryID) {
        this.categoryID = categoryID;
    }

    /**
     *
     * @return
     */
    public Set<String> getConceptsSet() {
        return conceptsSet;
    }

    /**
     *
     * @param conceptsSet
     */
    public void setConceptsSet(Set<String> conceptsSet) {
        this.conceptsSet = conceptsSet;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj == null) {
            return false;
        }
        if (getClass() != obj.getClass()) {
            return false;
        }
        final Category other = (Category) obj;
        if ((this.categoryID == null) ? (other.categoryID != null) : !this.categoryID.equals(other.categoryID)) {
            return false;
        }
        return true;
    }

    @Override
    public int hashCode() {
        int hash = 3;
        hash = 79 * hash + (this.categoryID != null ? this.categoryID.hashCode() : 0);
        return hash;
    }
}
